import axios from './axios'

export const getRegisterInfo = (param) => {
  return axios.request({
    url: 'http://localhost:3000/register_info/get',
    method: 'get',
    param
  })
}
export const setRegisterInfo = (data) => {
  return axios.request({
    url: 'http://localhost:3000/register_info/set',
    method: 'post',
    data
  })
}

export const delRegisterInfo = (data) => {
  return axios.request({
    url: 'http://localhost:3000/register_info/delete',
    method: 'post',
    data
  })
}

export const selectRegisterInfo = (data) => {
  return axios.request({
    url: 'http://localhost:3000/register_info/select',
    method: 'post',
    data
  })
}
// export const getRegisterInfo = (param) => {
//     return request({
//         url: 'http://localhost:3000/get_register_info',
//         method: 'get',
//         param
//     })
// }
